package cn.hpu.mobile_bank.service;

import cn.hpu.mobile_bank.domain.TransRecord;
import cn.hpu.mobile_bank.dto.req.SelectTransRecordReq;
import cn.hpu.mobile_bank.dto.req.TransferFormReq;
import cn.hpu.mobile_bank.dto.resp.AllInAndOutResponse;
import cn.hpu.mobile_bank.dto.resp.ApiResult;
import cn.hpu.mobile_bank.dto.resp.TransRecordList;
import cn.hpu.mobile_bank.dto.resp.TransferRecordResponse;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author DELL
* @description 针对表【transrecord】的数据库操作Service
* @createDate 2024-06-20 17:16:33
*/
public interface TransRecordService extends IService<TransRecord> {

    ApiResult<String> transfer(TransferFormReq transferFormReq);

    ApiResult<TransferRecordResponse> record(Integer id);

    ApiResult<AllInAndOutResponse> getAll();

    ApiResult<List<TransRecordList>> getAllAccountRecord(SelectTransRecordReq selectTransRecordReq);
}
